package com.yet.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;

public class JdkProxy implements YetProxy {

	@Override
	public Object proxy(Class<?> clz, InvocationHandler invocationHandler) {
		return Proxy.newProxyInstance(clz.getClassLoader(), new Class<?>[] { clz }, invocationHandler);
	}
	
}
